Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(clients): fallback to status code for unmodeled errors #3752

Merged
merged 2 commits into from
Jun 30, 2022

Conversation

AllanZhengYP
Copy link
Contributor

@AllanZhengYP AllanZhengYP commented Jun 28, 2022

Issue

Resolves: #3674
Associated with: smithy-lang/smithy-typescript#565

Description

When error code cannot be parsed, this change defaults to status code as the error name. Same behavior as in v2. This change also removes extra initial value of UnknownError

Testing

Manual test


By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@AllanZhengYP AllanZhengYP marked this pull request as ready for review June 28, 2022 01:12
@AllanZhengYP AllanZhengYP requested a review from a team as a code owner June 28, 2022 01:12
@AllanZhengYP AllanZhengYP merged commit 49bcc4f into aws:main Jun 30, 2022
@github-actions
Copy link

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs and link to relevant comments in this thread.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jul 15, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

client-s3: GetObjectCommand with ETags throws error without name or details
2 participants